projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ba36c1
)
Clean some more env vars during tests
author
Alex Crichton
<alex@alexcrichton.com>
Tue, 18 Apr 2017 00:55:59 +0000
(17:55 -0700)
committer
Alex Crichton
<alex@alexcrichton.com>
Tue, 18 Apr 2017 00:55:59 +0000
(17:55 -0700)
Will be required to run tests as part of rust-lang/rust
tests/cargotest/lib.rs
patch
|
blob
|
history
diff --git
a/tests/cargotest/lib.rs
b/tests/cargotest/lib.rs
index 1b5899b7f8c5910b275bcc3eacea17bc5cd0ac8c..a4410a85361fd6a39874e3fa2c7d65a2e770845b 100644
(file)
--- a/
tests/cargotest/lib.rs
+++ b/
tests/cargotest/lib.rs
@@
-51,7
+51,9
@@
fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
.env("HOME", support::paths::home())
.env("CARGO_HOME", support::paths::home().join(".cargo"))
.env("__CARGO_TEST_ROOT", support::paths::root())
+ .env_remove("__CARGO_DEFAULT_LIB_METADATA")
.env_remove("RUSTC")
+ .env_remove("RUSTDOC")
.env_remove("RUSTFLAGS")
.env_remove("CARGO_INCREMENTAL")
.env_remove("XDG_CONFIG_HOME") // see #2345